import React from 'react';
import { Link } from 'react-router-dom';
import Header       from 'component/header/index.jsx';
import SelectItem       from 'component/selectItem/selectItem.jsx';
import './user.scss'
class UserInfo extends React.Component{
    constructor(props){
        super(props)
    }
    goBack(){
        this.props.history.push('/');  
    }
    render(){
        return(
            <div id='userInfo'>
               <Header title='个人信息' goBack={e=>{this.goBack(e)}}/>
               <div className="content inf-content">
        <SelectItem name='用户头像'  ><img src="" alt="ss" className="avator cell-right"/></SelectItem>
        <SelectItem name='用户名'  > <div className="name hui l cell-right">cxw</div></SelectItem>
        <SelectItem name='生日礼物'><div className="name hui l cell-right">仅能设置1次</div></SelectItem>
        <SelectItem name='入股店铺' ><div className="name hui l cell-right">2家</div></SelectItem>
    </div>
            </div>
        )
    }
}
export default UserInfo;